home *** CD-ROM | disk | FTP | other *** search
/ PC Open 93 / PC Open 93 CD 2.bin / PDF / webdeveloper / lezione_2 / application / loginpersonalizza.asp < prev    next >
Encoding:
Text File  |  2003-10-25  |  962 b   |  43 lines

  1. <%
  2.     if request.QueryString("colore") <> "" then
  3.         Session("colore") = request.QueryString("colore")
  4.     end if
  5. %>
  6.  
  7. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  8.  
  9. <html>
  10. <head>
  11.     <title>Il sito di Mario Rossi</title>
  12. </head>
  13.  
  14. <% if Session("colore") <> "" then %>
  15. <body bgcolor="<%=Session("colore")%>">
  16. <% else %>
  17. <body>
  18. <% end if %>
  19.  
  20. <table width="100%" border="1" cellpadding="0" cellpadding="2">
  21. <tr>
  22.     <td width="100">
  23.  
  24.     <!--#include file="includemenu.asp"-->
  25.  
  26.     </td>
  27.     <td align="center">
  28.  
  29.     <strong>Login al sito</strong>
  30.     <form action="personalizza.asp" method="get">
  31.     <strong>Nome Utente</strong>: <input type="text" name="utente" size="20"><br />
  32.     <strong>Password</strong>: <input type="password" name="password" size="20"><br />
  33.     <input type="hidden" value="personalizza">
  34.     <input type="submit" value="Invia">
  35.     </form>
  36.  
  37.     </td>
  38. </tr>
  39. </table>
  40.  
  41. </body>
  42. </html>
  43.